<?php

namespace Biz\Constants\Order;

/**
 * OrderConstants.
 *
 * @license [http://www.85do.com] [杭州永奥网络科技有限公司]
 * @copyright Copyright (c) 2018-2026 Hangzhou Yongao Technology Co., Ltd. All rights reserved.
 */
class OrderConstants
{
    /**
     * Status.
     */
    const STATUS_ORDER_CREATE     = 'ORDER_CREATE'; //订单创建
    const STATUS_ORDER_INVALID    = 'ORDER_INVALID'; //订单失效
    const STATUS_ORDER_CANCEL     = 'ORDER_CANCEL'; //订单取消
    const STATUS_PAY_WAITING      = 'PAY_WAITING'; //待付款
    const STATUS_PAY_ING          = 'PAY_ING'; //付款中
    const STATUS_PAY_FAILED       = 'PAY_FAILED'; //付款失败
    const STATUS_PAY_SUCCESS      = 'PAY_SUCCESS'; //付款成功

    /**
     * Status names.
     *
     * @var array
     */
    public static $StatusNames = [
        self::STATUS_ORDER_CREATE     => '订单创建',
        self::STATUS_ORDER_INVALID    => '订单失效',
        self::STATUS_ORDER_CANCEL     => '订单取消',
        self::STATUS_PAY_WAITING      => '待付款',
        self::STATUS_PAY_ING          => '付款中',
        self::STATUS_PAY_FAILED       => '付款失败',
        self::STATUS_PAY_SUCCESS      => '付款成功',
    ];
}
